package com.dubbo.passport.service.Impl;

import com.dubbo.api.UserServiceApi;
import com.dubbo.passport.service.PassportService;
import com.dubbo.pojo.Users;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;


@Service
public class PassportServiceImpl implements PassportService {
    @Reference
    private UserServiceApi userServiceApi;

    @Override
    public Users login(Users users) {
        Users user = userServiceApi.login(users);
        /*System.out.println("passImpl:"+user);
        System.out.println("passImplss:"+users);*/
        return user;
    }
}
